package service;

import pojo.Student;

import java.util.List;

public interface StudentService {
    int addStudent(Student student);

    int deleteStudentById(int id);

    int updateStudent(Student student);

    Student findStudentById(int id);

    List<Student>findAll(Student student,int offset,int pageSize);
    List<Student>findAll2(String studentNum,String studentName,int offset,int pageSize);

    int count(Student student);
}
